﻿using Inovout.Models;
using System.ComponentModel.DataAnnotations;

namespace Inovout.YunYao.Models
{
    public partial class Equipment : DataObject
    {
        [Alias("名称")]
        [Required]
        [StringLength(50)]
        public virtual string Name { get; set; }
        [Alias("代码")]
        [Required]
        public virtual int Code { get; set; }
        [Alias("位置")]
        [Required]
        public virtual RoomLocation Location { get; set; }
        public virtual Solution Solution { get; set; }
    }
}
